package com.atguigu.gmall.common.config.minio;

import com.atguigu.gmall.common.config.minio.config.MinioConfiguration;
import com.atguigu.gmall.common.config.minio.properties.MinioProperties;
import io.minio.MinioClient;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@EnableConfigurationProperties(MinioProperties.class)//MinioProperties和配置文件进行绑定//2.MinioProperties注册到容器中
@Import({MinioConfiguration.class})
public class MinioAutoConfiguration {
}
